import axios from '@/libs/api.request'

// 年审基数明细
export class YearReviewBaseAmountDetailApi {
  // 根据条件获取年审基数明细
  static getList (params) {
    return axios.request({
      url: '/YearReviewBaseAmountDetail/GetList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出
  static export (params) {
    return axios.request({
      url: '/YearReviewBaseAmountDetail/Export',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params,
      responseType: 'blob'
    })
  }
}
